<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <link rel="stylesheet" href="/css/weui-0.4.3.css">
    <link rel="stylesheet" href="/css/weui.css">
    <title>域名备案监控配置</title>
</head>
<body>
<div class="weui-cells weui-cells_form">
    <!--隐藏域-->
    <input type="hidden" th:value="${quartzDO?.id}" id="id">
    <input type="hidden" th:value="${quartzDO?.jobGroup}" id="jobGroup">
    <div class="weui-cell">
        <div class="weui-cell__hd"><label class="weui-label">网站域名</label></div>
        <div class="weui-cell__bd">
            <input class="weui-input"  name="siteDomain" th:value="${quartzDO?.url}" id="siteDomain" placeholder="请输入域名"/>
        </div>
    </div>

    <div class="weui-cells__title">监控间隔时间</div>
    <div class="weui-cells weui-cells_radio">
        <label class="weui-cell weui-check__label" for="x11">
            <div class="weui-cell__bd">
                <p>一天/次</p>
            </div>
            <div class="weui-cell__ft">
                <input type="radio" class="weui-check" name="interval" checked="checked" id="x11" value="5">
                <span class="weui-icon-checked"></span>
            </div>
        </label>
    </div>
    <div class="weui-btn-area">
        <a th:if="${isQuartzEdit}" class="weui-btn weui-btn_primary" href="javascript:"  onclick="edit()">确定</a>
        <a th:if="${isSave}" class="weui-btn weui-btn_primary" href="javascript:" onclick="save()">确定</a>
    </div>
</div>
<div style="display: none;" id="alert">
    <div class="weui-mask"></div>
    <div class="weui-dialog">
        <div class="weui-dialog__hd"><strong class="weui-dialog__title">操作提示</strong></div>
        <div class="weui-dialog__bd" id="alertContent"></div>
        <div class="weui-dialog__ft">
            <a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary" onclick="hideAlert()">确定</a>
        </div>
    </div>
</div>
<div id="loadingToast" style="display:none;">
    <div class="weui-mask_transparent"></div>
    <div class="weui-toast">
        <i class="weui-loading weui-icon_toast"></i>
        <p class="weui-toast__content">正在配置</p>
    </div>
</div>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/icp/save.js"></script>
</body>
</html>